[paket]
tanim   = Hardinfo, sysinfo gibi sistem bilgisi aracı
paketci = Cihan_Alkan
grup    = sistem
url     = http://i-nex.linux.pl/

[gerek]
derleme =  
calisma =

[kaynak]
1  = https://github.com/i-nex/I-Nex/archive/${surum}.tar.gz
1  = https://aur.archlinux.org/cgit/aur.git/plain/Fix-error-if-proc-mtrr-doesn-t-exist.patch?h=i-nex
1  = https://aur.archlinux.org/cgit/aur.git/plain/Fix-libcpuid-SOVERSION.patch?h=i-nex
1  = https://aur.archlinux.org/cgit/aur.git/plain/Adapt-for-new-libcpuid-structure.patch?h=i-nex

[sha256]
#1       = f266388e13c527a5d1d98ec70957b1284f67aa89470cf71bc98ecb41c21542eb

[derle]
betik     = cd "${SRC}/I-Nex-${surum}"
betik     = patch -Np1 -i /sources/Fix-error-if-proc-mtrr-doesn-t-exist.patch?h=i-nex
betik     = patch -Np1 -i /sources/Fix-libcpuid-SOVERSION.patch?h=i-nex
betik     = patch -Np1 -i /sources/Adapt-for-new-libcpuid-structure.patch?h=i-nex
betik     = sed -i -e 's|^STATIC.*|STATIC = false|' i-nex.mk
betik     = sed -i -e 's|^UDEV_RULES_DIR.*|UDEV_RULES_DIR = /usr/lib/udev/rules.d|' i-nex.mk
betik     = cd "I-Nex"
betik     = autoreconf -i
betik     = cd "I-Nex"
betik     = ./configure --prefix=/usr
betik     = cd ..
betik     = MAGICK_OCL_DEVICE=OFF make -j1

[pakur]
betik     =  cd "${SRC}/I-Nex-${surum}"
betik     =  MAGICK_OCL_DEVICE=OFF make -j1 DESTDIR="${PKG}/" install
